[INFO] fetching crate substrate-wasmtime-runtime 0.16.0-threadsafe.4...
[INFO] fixing substrate-wasmtime-runtime-0.16.0-threadsafe.4 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate substrate-wasmtime-runtime 0.16.0-threadsafe.4 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate substrate-wasmtime-runtime 0.16.0-threadsafe.4
[INFO] finished tweaking crates.io crate substrate-wasmtime-runtime 0.16.0-threadsafe.4
[INFO] tweaked toml for crates.io crate substrate-wasmtime-runtime 0.16.0-threadsafe.4 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate substrate-wasmtime-runtime 0.16.0-threadsafe.4 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 101 packages to latest compatible versions
[INFO] [stderr]       Adding cfg-if v0.1.10 (available: v1.0.4)
[INFO] [stderr]       Adding indexmap v1.9.3 (available: v2.14.0)
[INFO] [stderr]       Adding memoffset v0.5.6 (available: v0.9.1)
[INFO] [stderr]       Adding more-asserts v0.2.2 (available: v0.3.1)
[INFO] [stderr]       Adding region v2.2.0 (available: v3.0.2)
[INFO] [stderr]       Adding thiserror v1.0.69 (available: v2.0.18)
[INFO] [stderr]       Adding wasmtime-environ v0.16.0 (available: v46.0.0)
[INFO] [stderr]       Adding zstd-sys v1.4.18+zstd.1.4.7 (available: v1.6.3+zstd.1.5.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3d0b5c2b67b03dc6fb34d63ea9700580ced6936bfec778f59394c5cc2957c8d3
[INFO] running `Command { std: "docker" "start" "3d0b5c2b67b03dc6fb34d63ea9700580ced6936bfec778f59394c5cc2957c8d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3d0b5c2b67b03dc6fb34d63ea9700580ced6936bfec778f59394c5cc2957c8d3" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3d0b5c2b67b03dc6fb34d63ea9700580ced6936bfec778f59394c5cc2957c8d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3d0b5c2b67b03dc6fb34d63ea9700580ced6936bfec778f59394c5cc2957c8d3" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo.
[INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously.
[INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html
[INFO] [stderr] When building the following dependencies, the given features will no longer be used:
[INFO] [stderr] 
[INFO] [stderr]   cranelift-entity v0.63.0 (as host dependency) removed features: enable-serde, serde
[INFO] [stderr] 
[INFO] [stderr]    Compiling either v1.16.0
[INFO] [stderr]    Compiling cranelift-codegen-shared v0.63.0
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling target-lexicon v0.10.0
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking smallvec v1.15.2
[INFO] [stderr]     Checking generic-array v0.12.4
[INFO] [stderr]    Compiling zstd-safe v2.0.6+zstd.1.4.7
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking byte-tools v0.3.1
[INFO] [stderr]     Checking is-terminal v0.4.17
[INFO] [stderr]     Checking cranelift-entity v0.63.0
[INFO] [stderr]     Checking dirs-sys v0.3.7
[INFO] [stderr]     Checking wasmparser v0.51.4
[INFO] [stderr]     Checking block-padding v0.1.5
[INFO] [stderr]     Checking opaque-debug v0.2.3
[INFO] [stderr]    Compiling wasmtime-environ v0.16.0
[INFO] [stderr]    Compiling itertools v0.9.0
[INFO] [stderr]     Checking fake-simd v0.1.2
[INFO] [stderr]     Checking directories v2.0.2
[INFO] [stderr]     Checking rayon v1.12.0
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking gimli v0.20.0
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking cranelift-bforest v0.63.0
[INFO] [stderr]     Checking regalloc v0.0.21
[INFO] [stderr]     Checking toml v0.5.11
[INFO] [stderr]     Checking errno v0.2.8
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]     Checking more-asserts v0.2.2
[INFO] [stderr]     Checking region v2.2.0
[INFO] [stderr]     Checking sha2 v0.8.2
[INFO] [stderr]     Checking backtrace v0.3.76
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling cc v1.2.65
[INFO] [stderr]     Checking regex v1.12.4
[INFO] [stderr]     Checking env_logger v0.10.2
[INFO] [stderr]     Checking file-per-thread-logger v0.1.6
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling zstd-sys v1.4.18+zstd.1.4.7
[INFO] [stderr]    Compiling substrate-wasmtime-runtime v0.16.0-threadsafe.4 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating build.rs from 2018 edition to 2021
[INFO] [stderr]    Compiling cranelift-codegen-meta v0.63.0
[INFO] [stderr]    Compiling cranelift-codegen v0.63.0
[INFO] [stderr]     Checking cranelift-frontend v0.63.0
[INFO] [stderr]     Checking cranelift-wasm v0.63.0
[INFO] [stderr]     Checking zstd v0.5.4+zstd.1.4.7
[INFO] [stderr]    Migrating src/lib.rs from 2018 edition to 2021
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 03s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cranelift-codegen-meta v0.63.0, wasmtime-environ v0.16.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] [stderr] crater-edition-check: substrate-wasmtime-runtime v0.16.0-threadsafe.4 (/opt/rustwide/workdir) updating edition from 2018 to 2021
[INFO] [stderr]    Compiling cranelift-entity v0.63.0
[INFO] [stderr]    Compiling substrate-wasmtime-runtime v0.16.0-threadsafe.4 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling cranelift-codegen-meta v0.63.0
[INFO] [stderr]    Compiling cranelift-codegen v0.63.0
[INFO] [stderr]     Checking cranelift-frontend v0.63.0
[INFO] [stderr]     Checking cranelift-wasm v0.63.0
[INFO] [stderr]     Checking wasmtime-environ v0.16.0
[INFO] [stdout] warning: unexpected `cfg` condition value: `clippy`
[INFO] [stdout]  --> src/lib.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | #![cfg_attr(feature = "clippy", plugin(clippy(conf_file = "../../clippy.toml")))]
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = help: consider adding `clippy` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     feature = "cargo-clippy",
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]   --> src/lib.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     feature = "cargo-clippy",
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `clippy`
[INFO] [stdout]  --> src/lib.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | #![cfg_attr(feature = "clippy", plugin(clippy(conf_file = "../../clippy.toml")))]
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = help: consider adding `clippy` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     feature = "cargo-clippy",
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]   --> src/lib.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     feature = "cargo-clippy",
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated constant `region::Protection::ReadWrite`: Use Protection::READ_WRITE instead
[INFO] [stdout]    --> src/mmap.rs:185:75
[INFO] [stdout]     |
[INFO] [stdout] 185 |         unsafe { region::protect(ptr.add(start), len, region::Protection::ReadWrite) }
[INFO] [stdout]     |                                                                           ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated constant `region::Protection::ReadWrite`: Use Protection::READ_WRITE instead
[INFO] [stdout]    --> src/mmap.rs:185:75
[INFO] [stdout]     |
[INFO] [stdout] 185 |         unsafe { region::protect(ptr.add(start), len, region::Protection::ReadWrite) }
[INFO] [stdout]     |                                                                           ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `needs_signal_handlers` is never read
[INFO] [stdout]   --> src/memory.rs:58:16
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct MmapMemory {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub(crate) needs_signal_handlers: bool,
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MmapMemory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/instance.rs:337:20
[INFO] [stdout]     |
[INFO] [stdout] 337 |     pub fn exports(&self) -> indexmap::map::Iter<String, EntityIndex> {
[INFO] [stdout]     |                    ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 337 |     pub fn exports(&self) -> indexmap::map::Iter<'_, String, EntityIndex> {
[INFO] [stdout]     |                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/instance.rs:970:20
[INFO] [stdout]     |
[INFO] [stdout] 970 |     pub fn exports(&self) -> indexmap::map::Iter<String, EntityIndex> {
[INFO] [stdout]     |                    ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 970 |     pub fn exports(&self) -> indexmap::map::Iter<'_, String, EntityIndex> {
[INFO] [stdout]     |                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> src/traphandlers.rs:54:53
[INFO] [stdout]    |
[INFO] [stdout] 54 |                 handler.sa_sigaction = trap_handler as usize;
[INFO] [stdout]    |                                                     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 54 |                 handler.sa_sigaction = trap_handler as *const () as usize;
[INFO] [stdout]    |                                                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:65:22
[INFO] [stdout]    |
[INFO] [stdout] 65 |             register(&mut PREV_SIGSEGV, libc::SIGSEGV);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 65 |             register(&raw mut PREV_SIGSEGV, libc::SIGSEGV);
[INFO] [stdout]    |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:68:22
[INFO] [stdout]    |
[INFO] [stdout] 68 |             register(&mut PREV_SIGILL, libc::SIGILL);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 68 |             register(&raw mut PREV_SIGILL, libc::SIGILL);
[INFO] [stdout]    |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:72:26
[INFO] [stdout]    |
[INFO] [stdout] 72 |                 register(&mut PREV_SIGFPE, libc::SIGFPE);
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 72 |                 register(&raw mut PREV_SIGFPE, libc::SIGFPE);
[INFO] [stdout]    |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:78:26
[INFO] [stdout]    |
[INFO] [stdout] 78 |                 register(&mut PREV_SIGBUS, libc::SIGBUS);
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 78 |                 register(&raw mut PREV_SIGBUS, libc::SIGBUS);
[INFO] [stdout]    |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:88:34
[INFO] [stdout]    |
[INFO] [stdout] 88 |                 libc::SIGSEGV => &PREV_SIGSEGV,
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 88 |                 libc::SIGSEGV => &raw const PREV_SIGSEGV,
[INFO] [stdout]    |                                   +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:89:33
[INFO] [stdout]    |
[INFO] [stdout] 89 |                 libc::SIGBUS => &PREV_SIGBUS,
[INFO] [stdout]    |                                 ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 89 |                 libc::SIGBUS => &raw const PREV_SIGBUS,
[INFO] [stdout]    |                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:90:33
[INFO] [stdout]    |
[INFO] [stdout] 90 |                 libc::SIGFPE => &PREV_SIGFPE,
[INFO] [stdout]    |                                 ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 90 |                 libc::SIGFPE => &raw const PREV_SIGFPE,
[INFO] [stdout]    |                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:91:33
[INFO] [stdout]    |
[INFO] [stdout] 91 |                 libc::SIGILL => &PREV_SIGILL,
[INFO] [stdout]    |                                 ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 91 |                 libc::SIGILL => &raw const PREV_SIGILL,
[INFO] [stdout]    |                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:544:36
[INFO] [stdout]     |
[INFO] [stdout] 544 |             wasmtime_memory32_grow as usize;
[INFO] [stdout]     |                                    ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 544 |             wasmtime_memory32_grow as *const () as usize;
[INFO] [stdout]     |                                    ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:546:45
[INFO] [stdout]     |
[INFO] [stdout] 546 |             wasmtime_imported_memory32_grow as usize;
[INFO] [stdout]     |                                             ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 546 |             wasmtime_imported_memory32_grow as *const () as usize;
[INFO] [stdout]     |                                             ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:549:36
[INFO] [stdout]     |
[INFO] [stdout] 549 |             wasmtime_memory32_size as usize;
[INFO] [stdout]     |                                    ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 549 |             wasmtime_memory32_size as *const () as usize;
[INFO] [stdout]     |                                    ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:551:45
[INFO] [stdout]     |
[INFO] [stdout] 551 |             wasmtime_imported_memory32_size as usize;
[INFO] [stdout]     |                                             ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 551 |             wasmtime_imported_memory32_size as *const () as usize;
[INFO] [stdout]     |                                             ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:554:33
[INFO] [stdout]     |
[INFO] [stdout] 554 |             wasmtime_table_copy as usize;
[INFO] [stdout]     |                                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 554 |             wasmtime_table_copy as *const () as usize;
[INFO] [stdout]     |                                 ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:557:33
[INFO] [stdout]     |
[INFO] [stdout] 557 |             wasmtime_table_init as usize;
[INFO] [stdout]     |                                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 557 |             wasmtime_table_init as *const () as usize;
[INFO] [stdout]     |                                 ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:559:32
[INFO] [stdout]     |
[INFO] [stdout] 559 |             wasmtime_elem_drop as usize;
[INFO] [stdout]     |                                ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 559 |             wasmtime_elem_drop as *const () as usize;
[INFO] [stdout]     |                                ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:562:42
[INFO] [stdout]     |
[INFO] [stdout] 562 |             wasmtime_defined_memory_copy as usize;
[INFO] [stdout]     |                                          ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 562 |             wasmtime_defined_memory_copy as *const () as usize;
[INFO] [stdout]     |                                          ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:564:43
[INFO] [stdout]     |
[INFO] [stdout] 564 |             wasmtime_imported_memory_copy as usize;
[INFO] [stdout]     |                                           ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 564 |             wasmtime_imported_memory_copy as *const () as usize;
[INFO] [stdout]     |                                           ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:566:34
[INFO] [stdout]     |
[INFO] [stdout] 566 |             wasmtime_memory_fill as usize;
[INFO] [stdout]     |                                  ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 566 |             wasmtime_memory_fill as *const () as usize;
[INFO] [stdout]     |                                  ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:568:43
[INFO] [stdout]     |
[INFO] [stdout] 568 |             wasmtime_imported_memory_fill as usize;
[INFO] [stdout]     |                                           ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 568 |             wasmtime_imported_memory_fill as *const () as usize;
[INFO] [stdout]     |                                           ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:570:34
[INFO] [stdout]     |
[INFO] [stdout] 570 |             wasmtime_memory_init as usize;
[INFO] [stdout]     |                                  ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 570 |             wasmtime_memory_init as *const () as usize;
[INFO] [stdout]     |                                  ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:572:32
[INFO] [stdout]     |
[INFO] [stdout] 572 |             wasmtime_data_drop as usize;
[INFO] [stdout]     |                                ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 572 |             wasmtime_data_drop as *const () as usize;
[INFO] [stdout]     |                                ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `needs_signal_handlers` is never read
[INFO] [stdout]   --> src/memory.rs:58:16
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct MmapMemory {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub(crate) needs_signal_handlers: bool,
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MmapMemory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/instance.rs:337:20
[INFO] [stdout]     |
[INFO] [stdout] 337 |     pub fn exports(&self) -> indexmap::map::Iter<String, EntityIndex> {
[INFO] [stdout]     |                    ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 337 |     pub fn exports(&self) -> indexmap::map::Iter<'_, String, EntityIndex> {
[INFO] [stdout]     |                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/instance.rs:970:20
[INFO] [stdout]     |
[INFO] [stdout] 970 |     pub fn exports(&self) -> indexmap::map::Iter<String, EntityIndex> {
[INFO] [stdout]     |                    ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 970 |     pub fn exports(&self) -> indexmap::map::Iter<'_, String, EntityIndex> {
[INFO] [stdout]     |                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> src/traphandlers.rs:54:53
[INFO] [stdout]    |
[INFO] [stdout] 54 |                 handler.sa_sigaction = trap_handler as usize;
[INFO] [stdout]    |                                                     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 54 |                 handler.sa_sigaction = trap_handler as *const () as usize;
[INFO] [stdout]    |                                                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:65:22
[INFO] [stdout]    |
[INFO] [stdout] 65 |             register(&mut PREV_SIGSEGV, libc::SIGSEGV);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 65 |             register(&raw mut PREV_SIGSEGV, libc::SIGSEGV);
[INFO] [stdout]    |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:68:22
[INFO] [stdout]    |
[INFO] [stdout] 68 |             register(&mut PREV_SIGILL, libc::SIGILL);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 68 |             register(&raw mut PREV_SIGILL, libc::SIGILL);
[INFO] [stdout]    |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:72:26
[INFO] [stdout]    |
[INFO] [stdout] 72 |                 register(&mut PREV_SIGFPE, libc::SIGFPE);
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 72 |                 register(&raw mut PREV_SIGFPE, libc::SIGFPE);
[INFO] [stdout]    |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:78:26
[INFO] [stdout]    |
[INFO] [stdout] 78 |                 register(&mut PREV_SIGBUS, libc::SIGBUS);
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 78 |                 register(&raw mut PREV_SIGBUS, libc::SIGBUS);
[INFO] [stdout]    |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:88:34
[INFO] [stdout]    |
[INFO] [stdout] 88 |                 libc::SIGSEGV => &PREV_SIGSEGV,
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 88 |                 libc::SIGSEGV => &raw const PREV_SIGSEGV,
[INFO] [stdout]    |                                   +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:89:33
[INFO] [stdout]    |
[INFO] [stdout] 89 |                 libc::SIGBUS => &PREV_SIGBUS,
[INFO] [stdout]    |                                 ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 89 |                 libc::SIGBUS => &raw const PREV_SIGBUS,
[INFO] [stdout]    |                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:90:33
[INFO] [stdout]    |
[INFO] [stdout] 90 |                 libc::SIGFPE => &PREV_SIGFPE,
[INFO] [stdout]    |                                 ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 90 |                 libc::SIGFPE => &raw const PREV_SIGFPE,
[INFO] [stdout]    |                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:91:33
[INFO] [stdout]    |
[INFO] [stdout] 91 |                 libc::SIGILL => &PREV_SIGILL,
[INFO] [stdout]    |                                 ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 91 |                 libc::SIGILL => &raw const PREV_SIGILL,
[INFO] [stdout]    |                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:544:36
[INFO] [stdout]     |
[INFO] [stdout] 544 |             wasmtime_memory32_grow as usize;
[INFO] [stdout]     |                                    ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 544 |             wasmtime_memory32_grow as *const () as usize;
[INFO] [stdout]     |                                    ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:546:45
[INFO] [stdout]     |
[INFO] [stdout] 546 |             wasmtime_imported_memory32_grow as usize;
[INFO] [stdout]     |                                             ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 546 |             wasmtime_imported_memory32_grow as *const () as usize;
[INFO] [stdout]     |                                             ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:549:36
[INFO] [stdout]     |
[INFO] [stdout] 549 |             wasmtime_memory32_size as usize;
[INFO] [stdout]     |                                    ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 549 |             wasmtime_memory32_size as *const () as usize;
[INFO] [stdout]     |                                    ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:551:45
[INFO] [stdout]     |
[INFO] [stdout] 551 |             wasmtime_imported_memory32_size as usize;
[INFO] [stdout]     |                                             ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 551 |             wasmtime_imported_memory32_size as *const () as usize;
[INFO] [stdout]     |                                             ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:554:33
[INFO] [stdout]     |
[INFO] [stdout] 554 |             wasmtime_table_copy as usize;
[INFO] [stdout]     |                                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 554 |             wasmtime_table_copy as *const () as usize;
[INFO] [stdout]     |                                 ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:557:33
[INFO] [stdout]     |
[INFO] [stdout] 557 |             wasmtime_table_init as usize;
[INFO] [stdout]     |                                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 557 |             wasmtime_table_init as *const () as usize;
[INFO] [stdout]     |                                 ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:559:32
[INFO] [stdout]     |
[INFO] [stdout] 559 |             wasmtime_elem_drop as usize;
[INFO] [stdout]     |                                ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 559 |             wasmtime_elem_drop as *const () as usize;
[INFO] [stdout]     |                                ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:562:42
[INFO] [stdout]     |
[INFO] [stdout] 562 |             wasmtime_defined_memory_copy as usize;
[INFO] [stdout]     |                                          ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 562 |             wasmtime_defined_memory_copy as *const () as usize;
[INFO] [stdout]     |                                          ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:564:43
[INFO] [stdout]     |
[INFO] [stdout] 564 |             wasmtime_imported_memory_copy as usize;
[INFO] [stdout]     |                                           ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 564 |             wasmtime_imported_memory_copy as *const () as usize;
[INFO] [stdout]     |                                           ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:566:34
[INFO] [stdout]     |
[INFO] [stdout] 566 |             wasmtime_memory_fill as usize;
[INFO] [stdout]     |                                  ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 566 |             wasmtime_memory_fill as *const () as usize;
[INFO] [stdout]     |                                  ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:568:43
[INFO] [stdout]     |
[INFO] [stdout] 568 |             wasmtime_imported_memory_fill as usize;
[INFO] [stdout]     |                                           ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 568 |             wasmtime_imported_memory_fill as *const () as usize;
[INFO] [stdout]     |                                           ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:570:34
[INFO] [stdout]     |
[INFO] [stdout] 570 |             wasmtime_memory_init as usize;
[INFO] [stdout]     |                                  ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 570 |             wasmtime_memory_init as *const () as usize;
[INFO] [stdout]     |                                  ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:572:32
[INFO] [stdout]     |
[INFO] [stdout] 572 |             wasmtime_data_drop as usize;
[INFO] [stdout]     |                                ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 572 |             wasmtime_data_drop as *const () as usize;
[INFO] [stdout]     |                                ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 19s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cranelift-codegen-meta v0.63.0, wasmtime-environ v0.16.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo.
[INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously.
[INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html
[INFO] [stderr] When building the following dependencies, the given features will no longer be used:
[INFO] [stderr] 
[INFO] [stderr]   cranelift-entity v0.63.0 (as host dependency) removed features: enable-serde, serde
[INFO] [stderr] 
[INFO] [stderr]     Checking substrate-wasmtime-runtime v0.16.0-threadsafe.4 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/debug_builtins.rs (4 fixes)
[INFO] [stderr]        Fixed src/traphandlers.rs (5 fixes)
[INFO] [stderr]        Fixed src/instance.rs (7 fixes)
[INFO] [stderr]        Fixed src/libcalls.rs (13 fixes)
[INFO] [stderr]        Fixed src/jit_int.rs (4 fixes)
[INFO] [stderr]        Fixed src/vmcontext.rs (22 fixes)
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/traphandlers.rs:440:15
[INFO] [stdout]     |
[INFO] [stdout] 438 |         let _reset = self.update_stack_limit(max_wasm_stack)?;
[INFO] [stdout]     |             ------
[INFO] [stdout]     |             |
[INFO] [stdout]     |             `_reset` calls a custom destructor
[INFO] [stdout]     |             `_reset` will be dropped later as of Edition 2024
[INFO] [stdout] 439 |         let ret = tls::set(&self, || closure(&self));
[INFO] [stdout] 440 |         match self.unwind.replace(UnwindReason::None) {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |               |
[INFO] [stdout]     |               this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |               up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 467 |     }
[INFO] [stdout]     |     - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:65:22
[INFO] [stdout]    |
[INFO] [stdout] 65 |             register(&mut PREV_SIGSEGV, libc::SIGSEGV);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 65 |             register(&raw mut PREV_SIGSEGV, libc::SIGSEGV);
[INFO] [stdout]    |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:68:22
[INFO] [stdout]    |
[INFO] [stdout] 68 |             register(&mut PREV_SIGILL, libc::SIGILL);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 68 |             register(&raw mut PREV_SIGILL, libc::SIGILL);
[INFO] [stdout]    |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:72:26
[INFO] [stdout]    |
[INFO] [stdout] 72 |                 register(&mut PREV_SIGFPE, libc::SIGFPE);
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 72 |                 register(&raw mut PREV_SIGFPE, libc::SIGFPE);
[INFO] [stdout]    |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:78:26
[INFO] [stdout]    |
[INFO] [stdout] 78 |                 register(&mut PREV_SIGBUS, libc::SIGBUS);
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 78 |                 register(&raw mut PREV_SIGBUS, libc::SIGBUS);
[INFO] [stdout]    |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:88:34
[INFO] [stdout]    |
[INFO] [stdout] 88 |                 libc::SIGSEGV => &PREV_SIGSEGV,
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 88 |                 libc::SIGSEGV => &raw const PREV_SIGSEGV,
[INFO] [stdout]    |                                   +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:89:33
[INFO] [stdout]    |
[INFO] [stdout] 89 |                 libc::SIGBUS => &PREV_SIGBUS,
[INFO] [stdout]    |                                 ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 89 |                 libc::SIGBUS => &raw const PREV_SIGBUS,
[INFO] [stdout]    |                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:90:33
[INFO] [stdout]    |
[INFO] [stdout] 90 |                 libc::SIGFPE => &PREV_SIGFPE,
[INFO] [stdout]    |                                 ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 90 |                 libc::SIGFPE => &raw const PREV_SIGFPE,
[INFO] [stdout]    |                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:91:33
[INFO] [stdout]    |
[INFO] [stdout] 91 |                 libc::SIGILL => &PREV_SIGILL,
[INFO] [stdout]    |                                 ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 91 |                 libc::SIGILL => &raw const PREV_SIGILL,
[INFO] [stdout]    |                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/traphandlers.rs:440:15
[INFO] [stdout]     |
[INFO] [stdout] 438 |         let _reset = self.update_stack_limit(max_wasm_stack)?;
[INFO] [stdout]     |             ------
[INFO] [stdout]     |             |
[INFO] [stdout]     |             `_reset` calls a custom destructor
[INFO] [stdout]     |             `_reset` will be dropped later as of Edition 2024
[INFO] [stdout] 439 |         let ret = tls::set(&self, || closure(&self));
[INFO] [stdout] 440 |         match self.unwind.replace(UnwindReason::None) {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |               |
[INFO] [stdout]     |               this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |               up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 467 |     }
[INFO] [stdout]     |     - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:65:22
[INFO] [stdout]    |
[INFO] [stdout] 65 |             register(&mut PREV_SIGSEGV, libc::SIGSEGV);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 65 |             register(&raw mut PREV_SIGSEGV, libc::SIGSEGV);
[INFO] [stdout]    |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:68:22
[INFO] [stdout]    |
[INFO] [stdout] 68 |             register(&mut PREV_SIGILL, libc::SIGILL);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 68 |             register(&raw mut PREV_SIGILL, libc::SIGILL);
[INFO] [stdout]    |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:72:26
[INFO] [stdout]    |
[INFO] [stdout] 72 |                 register(&mut PREV_SIGFPE, libc::SIGFPE);
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 72 |                 register(&raw mut PREV_SIGFPE, libc::SIGFPE);
[INFO] [stdout]    |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:78:26
[INFO] [stdout]    |
[INFO] [stdout] 78 |                 register(&mut PREV_SIGBUS, libc::SIGBUS);
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 78 |                 register(&raw mut PREV_SIGBUS, libc::SIGBUS);
[INFO] [stdout]    |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:88:34
[INFO] [stdout]    |
[INFO] [stdout] 88 |                 libc::SIGSEGV => &PREV_SIGSEGV,
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 88 |                 libc::SIGSEGV => &raw const PREV_SIGSEGV,
[INFO] [stdout]    |                                   +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:89:33
[INFO] [stdout]    |
[INFO] [stdout] 89 |                 libc::SIGBUS => &PREV_SIGBUS,
[INFO] [stdout]    |                                 ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 89 |                 libc::SIGBUS => &raw const PREV_SIGBUS,
[INFO] [stdout]    |                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:90:33
[INFO] [stdout]    |
[INFO] [stdout] 90 |                 libc::SIGFPE => &PREV_SIGFPE,
[INFO] [stdout]    |                                 ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 90 |                 libc::SIGFPE => &raw const PREV_SIGFPE,
[INFO] [stdout]    |                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:91:33
[INFO] [stdout]    |
[INFO] [stdout] 91 |                 libc::SIGILL => &PREV_SIGILL,
[INFO] [stdout]    |                                 ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 91 |                 libc::SIGILL => &raw const PREV_SIGILL,
[INFO] [stdout]    |                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 21s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cranelift-codegen-meta v0.63.0, wasmtime-environ v0.16.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] [stderr] crater-edition-check: substrate-wasmtime-runtime v0.16.0-threadsafe.4 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]    Compiling substrate-wasmtime-runtime v0.16.0-threadsafe.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition value: `clippy`
[INFO] [stdout]  --> src/lib.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | #![cfg_attr(feature = "clippy", plugin(clippy(conf_file = "../../clippy.toml")))]
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = help: consider adding `clippy` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     feature = "cargo-clippy",
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]   --> src/lib.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     feature = "cargo-clippy",
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `clippy`
[INFO] [stdout]  --> src/lib.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | #![cfg_attr(feature = "clippy", plugin(clippy(conf_file = "../../clippy.toml")))]
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = help: consider adding `clippy` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     feature = "cargo-clippy",
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]   --> src/lib.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     feature = "cargo-clippy",
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated constant `region::Protection::ReadWrite`: Use Protection::READ_WRITE instead
[INFO] [stdout]    --> src/mmap.rs:185:75
[INFO] [stdout]     |
[INFO] [stdout] 185 |         unsafe { region::protect(ptr.add(start), len, region::Protection::ReadWrite) }
[INFO] [stdout]     |                                                                           ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated constant `region::Protection::ReadWrite`: Use Protection::READ_WRITE instead
[INFO] [stdout]    --> src/mmap.rs:185:75
[INFO] [stdout]     |
[INFO] [stdout] 185 |         unsafe { region::protect(ptr.add(start), len, region::Protection::ReadWrite) }
[INFO] [stdout]     |                                                                           ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `needs_signal_handlers` is never read
[INFO] [stdout]   --> src/memory.rs:58:16
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct MmapMemory {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub(crate) needs_signal_handlers: bool,
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MmapMemory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/instance.rs:337:20
[INFO] [stdout]     |
[INFO] [stdout] 337 |     pub fn exports(&self) -> indexmap::map::Iter<String, EntityIndex> {
[INFO] [stdout]     |                    ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 337 |     pub fn exports(&self) -> indexmap::map::Iter<'_, String, EntityIndex> {
[INFO] [stdout]     |                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/instance.rs:970:20
[INFO] [stdout]     |
[INFO] [stdout] 970 |     pub fn exports(&self) -> indexmap::map::Iter<String, EntityIndex> {
[INFO] [stdout]     |                    ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 970 |     pub fn exports(&self) -> indexmap::map::Iter<'_, String, EntityIndex> {
[INFO] [stdout]     |                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> src/traphandlers.rs:54:53
[INFO] [stdout]    |
[INFO] [stdout] 54 |                 handler.sa_sigaction = trap_handler as usize;
[INFO] [stdout]    |                                                     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 54 |                 handler.sa_sigaction = trap_handler as *const () as usize;
[INFO] [stdout]    |                                                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:65:22
[INFO] [stdout]    |
[INFO] [stdout] 65 |             register(&mut PREV_SIGSEGV, libc::SIGSEGV);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 65 |             register(&raw mut PREV_SIGSEGV, libc::SIGSEGV);
[INFO] [stdout]    |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:68:22
[INFO] [stdout]    |
[INFO] [stdout] 68 |             register(&mut PREV_SIGILL, libc::SIGILL);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 68 |             register(&raw mut PREV_SIGILL, libc::SIGILL);
[INFO] [stdout]    |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:72:26
[INFO] [stdout]    |
[INFO] [stdout] 72 |                 register(&mut PREV_SIGFPE, libc::SIGFPE);
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 72 |                 register(&raw mut PREV_SIGFPE, libc::SIGFPE);
[INFO] [stdout]    |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:78:26
[INFO] [stdout]    |
[INFO] [stdout] 78 |                 register(&mut PREV_SIGBUS, libc::SIGBUS);
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 78 |                 register(&raw mut PREV_SIGBUS, libc::SIGBUS);
[INFO] [stdout]    |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:88:34
[INFO] [stdout]    |
[INFO] [stdout] 88 |                 libc::SIGSEGV => &PREV_SIGSEGV,
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 88 |                 libc::SIGSEGV => &raw const PREV_SIGSEGV,
[INFO] [stdout]    |                                   +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:89:33
[INFO] [stdout]    |
[INFO] [stdout] 89 |                 libc::SIGBUS => &PREV_SIGBUS,
[INFO] [stdout]    |                                 ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 89 |                 libc::SIGBUS => &raw const PREV_SIGBUS,
[INFO] [stdout]    |                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:90:33
[INFO] [stdout]    |
[INFO] [stdout] 90 |                 libc::SIGFPE => &PREV_SIGFPE,
[INFO] [stdout]    |                                 ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 90 |                 libc::SIGFPE => &raw const PREV_SIGFPE,
[INFO] [stdout]    |                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:91:33
[INFO] [stdout]    |
[INFO] [stdout] 91 |                 libc::SIGILL => &PREV_SIGILL,
[INFO] [stdout]    |                                 ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 91 |                 libc::SIGILL => &raw const PREV_SIGILL,
[INFO] [stdout]    |                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:544:36
[INFO] [stdout]     |
[INFO] [stdout] 544 |             wasmtime_memory32_grow as usize;
[INFO] [stdout]     |                                    ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 544 |             wasmtime_memory32_grow as *const () as usize;
[INFO] [stdout]     |                                    ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:546:45
[INFO] [stdout]     |
[INFO] [stdout] 546 |             wasmtime_imported_memory32_grow as usize;
[INFO] [stdout]     |                                             ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 546 |             wasmtime_imported_memory32_grow as *const () as usize;
[INFO] [stdout]     |                                             ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:549:36
[INFO] [stdout]     |
[INFO] [stdout] 549 |             wasmtime_memory32_size as usize;
[INFO] [stdout]     |                                    ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 549 |             wasmtime_memory32_size as *const () as usize;
[INFO] [stdout]     |                                    ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:551:45
[INFO] [stdout]     |
[INFO] [stdout] 551 |             wasmtime_imported_memory32_size as usize;
[INFO] [stdout]     |                                             ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 551 |             wasmtime_imported_memory32_size as *const () as usize;
[INFO] [stdout]     |                                             ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:554:33
[INFO] [stdout]     |
[INFO] [stdout] 554 |             wasmtime_table_copy as usize;
[INFO] [stdout]     |                                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 554 |             wasmtime_table_copy as *const () as usize;
[INFO] [stdout]     |                                 ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:557:33
[INFO] [stdout]     |
[INFO] [stdout] 557 |             wasmtime_table_init as usize;
[INFO] [stdout]     |                                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 557 |             wasmtime_table_init as *const () as usize;
[INFO] [stdout]     |                                 ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:559:32
[INFO] [stdout]     |
[INFO] [stdout] 559 |             wasmtime_elem_drop as usize;
[INFO] [stdout]     |                                ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 559 |             wasmtime_elem_drop as *const () as usize;
[INFO] [stdout]     |                                ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:562:42
[INFO] [stdout]     |
[INFO] [stdout] 562 |             wasmtime_defined_memory_copy as usize;
[INFO] [stdout]     |                                          ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 562 |             wasmtime_defined_memory_copy as *const () as usize;
[INFO] [stdout]     |                                          ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:564:43
[INFO] [stdout]     |
[INFO] [stdout] 564 |             wasmtime_imported_memory_copy as usize;
[INFO] [stdout]     |                                           ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 564 |             wasmtime_imported_memory_copy as *const () as usize;
[INFO] [stdout]     |                                           ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:566:34
[INFO] [stdout]     |
[INFO] [stdout] 566 |             wasmtime_memory_fill as usize;
[INFO] [stdout]     |                                  ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 566 |             wasmtime_memory_fill as *const () as usize;
[INFO] [stdout]     |                                  ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:568:43
[INFO] [stdout]     |
[INFO] [stdout] 568 |             wasmtime_imported_memory_fill as usize;
[INFO] [stdout]     |                                           ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 568 |             wasmtime_imported_memory_fill as *const () as usize;
[INFO] [stdout]     |                                           ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:570:34
[INFO] [stdout]     |
[INFO] [stdout] 570 |             wasmtime_memory_init as usize;
[INFO] [stdout]     |                                  ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 570 |             wasmtime_memory_init as *const () as usize;
[INFO] [stdout]     |                                  ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:572:32
[INFO] [stdout]     |
[INFO] [stdout] 572 |             wasmtime_data_drop as usize;
[INFO] [stdout]     |                                ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 572 |             wasmtime_data_drop as *const () as usize;
[INFO] [stdout]     |                                ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `substrate-wasmtime-runtime` (lib) due to 8 previous errors; 21 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: field `needs_signal_handlers` is never read
[INFO] [stdout]   --> src/memory.rs:58:16
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct MmapMemory {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub(crate) needs_signal_handlers: bool,
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MmapMemory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/instance.rs:337:20
[INFO] [stdout]     |
[INFO] [stdout] 337 |     pub fn exports(&self) -> indexmap::map::Iter<String, EntityIndex> {
[INFO] [stdout]     |                    ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 337 |     pub fn exports(&self) -> indexmap::map::Iter<'_, String, EntityIndex> {
[INFO] [stdout]     |                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/instance.rs:970:20
[INFO] [stdout]     |
[INFO] [stdout] 970 |     pub fn exports(&self) -> indexmap::map::Iter<String, EntityIndex> {
[INFO] [stdout]     |                    ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 970 |     pub fn exports(&self) -> indexmap::map::Iter<'_, String, EntityIndex> {
[INFO] [stdout]     |                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> src/traphandlers.rs:54:53
[INFO] [stdout]    |
[INFO] [stdout] 54 |                 handler.sa_sigaction = trap_handler as usize;
[INFO] [stdout]    |                                                     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 54 |                 handler.sa_sigaction = trap_handler as *const () as usize;
[INFO] [stdout]    |                                                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:65:22
[INFO] [stdout]    |
[INFO] [stdout] 65 |             register(&mut PREV_SIGSEGV, libc::SIGSEGV);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 65 |             register(&raw mut PREV_SIGSEGV, libc::SIGSEGV);
[INFO] [stdout]    |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:68:22
[INFO] [stdout]    |
[INFO] [stdout] 68 |             register(&mut PREV_SIGILL, libc::SIGILL);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 68 |             register(&raw mut PREV_SIGILL, libc::SIGILL);
[INFO] [stdout]    |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:72:26
[INFO] [stdout]    |
[INFO] [stdout] 72 |                 register(&mut PREV_SIGFPE, libc::SIGFPE);
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 72 |                 register(&raw mut PREV_SIGFPE, libc::SIGFPE);
[INFO] [stdout]    |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:78:26
[INFO] [stdout]    |
[INFO] [stdout] 78 |                 register(&mut PREV_SIGBUS, libc::SIGBUS);
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 78 |                 register(&raw mut PREV_SIGBUS, libc::SIGBUS);
[INFO] [stdout]    |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:88:34
[INFO] [stdout]    |
[INFO] [stdout] 88 |                 libc::SIGSEGV => &PREV_SIGSEGV,
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 88 |                 libc::SIGSEGV => &raw const PREV_SIGSEGV,
[INFO] [stdout]    |                                   +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:89:33
[INFO] [stdout]    |
[INFO] [stdout] 89 |                 libc::SIGBUS => &PREV_SIGBUS,
[INFO] [stdout]    |                                 ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 89 |                 libc::SIGBUS => &raw const PREV_SIGBUS,
[INFO] [stdout]    |                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:90:33
[INFO] [stdout]    |
[INFO] [stdout] 90 |                 libc::SIGFPE => &PREV_SIGFPE,
[INFO] [stdout]    |                                 ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 90 |                 libc::SIGFPE => &raw const PREV_SIGFPE,
[INFO] [stdout]    |                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/traphandlers.rs:91:33
[INFO] [stdout]    |
[INFO] [stdout] 91 |                 libc::SIGILL => &PREV_SIGILL,
[INFO] [stdout]    |                                 ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 91 |                 libc::SIGILL => &raw const PREV_SIGILL,
[INFO] [stdout]    |                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:544:36
[INFO] [stdout]     |
[INFO] [stdout] 544 |             wasmtime_memory32_grow as usize;
[INFO] [stdout]     |                                    ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 544 |             wasmtime_memory32_grow as *const () as usize;
[INFO] [stdout]     |                                    ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:546:45
[INFO] [stdout]     |
[INFO] [stdout] 546 |             wasmtime_imported_memory32_grow as usize;
[INFO] [stdout]     |                                             ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 546 |             wasmtime_imported_memory32_grow as *const () as usize;
[INFO] [stdout]     |                                             ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:549:36
[INFO] [stdout]     |
[INFO] [stdout] 549 |             wasmtime_memory32_size as usize;
[INFO] [stdout]     |                                    ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 549 |             wasmtime_memory32_size as *const () as usize;
[INFO] [stdout]     |                                    ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:551:45
[INFO] [stdout]     |
[INFO] [stdout] 551 |             wasmtime_imported_memory32_size as usize;
[INFO] [stdout]     |                                             ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 551 |             wasmtime_imported_memory32_size as *const () as usize;
[INFO] [stdout]     |                                             ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:554:33
[INFO] [stdout]     |
[INFO] [stdout] 554 |             wasmtime_table_copy as usize;
[INFO] [stdout]     |                                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 554 |             wasmtime_table_copy as *const () as usize;
[INFO] [stdout]     |                                 ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:557:33
[INFO] [stdout]     |
[INFO] [stdout] 557 |             wasmtime_table_init as usize;
[INFO] [stdout]     |                                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 557 |             wasmtime_table_init as *const () as usize;
[INFO] [stdout]     |                                 ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:559:32
[INFO] [stdout]     |
[INFO] [stdout] 559 |             wasmtime_elem_drop as usize;
[INFO] [stdout]     |                                ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 559 |             wasmtime_elem_drop as *const () as usize;
[INFO] [stdout]     |                                ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:562:42
[INFO] [stdout]     |
[INFO] [stdout] 562 |             wasmtime_defined_memory_copy as usize;
[INFO] [stdout]     |                                          ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 562 |             wasmtime_defined_memory_copy as *const () as usize;
[INFO] [stdout]     |                                          ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:564:43
[INFO] [stdout]     |
[INFO] [stdout] 564 |             wasmtime_imported_memory_copy as usize;
[INFO] [stdout]     |                                           ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 564 |             wasmtime_imported_memory_copy as *const () as usize;
[INFO] [stdout]     |                                           ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:566:34
[INFO] [stdout]     |
[INFO] [stdout] 566 |             wasmtime_memory_fill as usize;
[INFO] [stdout]     |                                  ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 566 |             wasmtime_memory_fill as *const () as usize;
[INFO] [stdout]     |                                  ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:568:43
[INFO] [stdout]     |
[INFO] [stdout] 568 |             wasmtime_imported_memory_fill as usize;
[INFO] [stdout]     |                                           ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 568 |             wasmtime_imported_memory_fill as *const () as usize;
[INFO] [stdout]     |                                           ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:570:34
[INFO] [stdout]     |
[INFO] [stdout] 570 |             wasmtime_memory_init as usize;
[INFO] [stdout]     |                                  ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 570 |             wasmtime_memory_init as *const () as usize;
[INFO] [stdout]     |                                  ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/vmcontext.rs:572:32
[INFO] [stdout]     |
[INFO] [stdout] 572 |             wasmtime_data_drop as usize;
[INFO] [stdout]     |                                ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 572 |             wasmtime_data_drop as *const () as usize;
[INFO] [stdout]     |                                ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `substrate-wasmtime-runtime` (lib test) due to 8 previous errors; 21 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "3d0b5c2b67b03dc6fb34d63ea9700580ced6936bfec778f59394c5cc2957c8d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3d0b5c2b67b03dc6fb34d63ea9700580ced6936bfec778f59394c5cc2957c8d3", kill_on_drop: false }`
[INFO] [stdout] 3d0b5c2b67b03dc6fb34d63ea9700580ced6936bfec778f59394c5cc2957c8d3
